Thermal detection and pain thresholds